package com.ithema.notebook.processor;

import com.ithema.notebook.data.NoteData;

import java.util.List;

/**
 * Package: com.ithema.notebook.processor
 * Description：
 *
 * @author: huangjian
 * Date:  2020/10/18 17:31
 * Modified By:
 */
public class DefaultSourceNoteData implements SourceNoteData {

    private String filename;
    private List<NoteData> content;
    private String topic;

    public DefaultSourceNoteData(String filename, List<NoteData> content, String topic) {
        this.filename = filename;
        this.content = content;
        this.topic = topic;
    }

    @Override
    public String getFileName() {
        return filename;
    }

    @Override
    public List<NoteData> getContent() {
        return content;
    }

    @Override
    public String topic() {
        return topic;
    }
}
